package com.dominator.service;

import com.dominFramework.core.typewrap.Dto;
import com.dominator.utils.api.ApiMessage;
import com.dominator.utils.exception.ApiException;

public interface ApiBankService {


    /**
     * 添加
      * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage addBank(Dto dto) throws ApiException;

    /**
     * 获取用户银行卡
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage getUserBankList(Dto dto) throws ApiException;

    /**
     * 删除
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage deleteBank(Dto dto) throws ApiException;




}
